﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Instagram.Version2.Models
{
    public class PhotoDetailModel
    {
        public int Id { get; set; }
        public byte[] Image { get; set; }

        public string User { get; set; } //author name

        public string Title { get; set; }

        public DateTime Created { get; set; }
        public string Location { get; set; }

        public virtual IEnumerable<CommentModel> Comments { get; set; }
        public virtual IEnumerable<LikeModel> Likes { get; set; }
    }
}
